// C11:BasicThreads.cpp
//  The most basic use of the Thread class.
//  {L} ZThread
#include "zthread/Thread.h"
#include "LiftOff.h"
#include <iostream>
#include <thread>

using namespace ZThread;
using namespace std;

int main(void) {
  try {

    Thread t(new LiftOff(10));
  } catch (Synchronization_Exception &e) {
    cerr << e.what() << endl;
  }
}